package com.tanhua.dubbo.server.vo;

import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/*
 *   消息实体类
 * */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message implements Serializable {

    private String id;
    private String nickname;        //作者昵称
    private Integer userId;         //作者id
    private String userLogo;        //作者头像
    private Long createDate;     //发布日期
    private String text;            //正文
    private List<String> medias;        //图片列表
    private String state;       //审核状态
    private Integer topState;       //置顶状态
    private Integer commentCount;   //评论数
    private Integer likeCount;      //点赞数
    private Integer reportCount;    //举报数
    private Integer forwardingCount;    //转发数
}
